package com.example.freshmenclient.bean;

public class ClassMateDetailBean {

    /**
     * msg : 成功
     * data : {"id":2,"name":"小强","password":"123456","email":"xiaoqiang@123.com","telephone":"12345678902","department":"信息学院","major":"软件技术","role":"学生"}
     * success : true
     */

    private String msg;
    private DataBean data;
    private boolean success;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * id : 2
         * name : 小强
         * password : 123456
         * email : xiaoqiang@123.com
         * telephone : 12345678902
         * department : 信息学院
         * major : 软件技术
         * role : 学生
         */

        private Integer id;
        private String name;
        private String password;
        private String email;
        private String telephone;
        private String department;
        private String major;
        private String role;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getTelephone() {
            return telephone;
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public String getDepartment() {
            return department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getMajor() {
            return major;
        }

        public void setMajor(String major) {
            this.major = major;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }
    }
}
